package com.dk.util;

import com.dk.pair.Callable1;

import java.util.Set;
import java.util.concurrent.Callable;

class MyCallable implements Callable<Object> {
    private String taskNum;

    MyCallable(String taskNum) {
        this.taskNum = taskNum;
    }

    public Object call( ) throws Exception {
        Callable1 callable = new Callable1();
        callable.getDeviceStatus();
        Set<String> set = callable.getDeviceData();
        return set;
    }
}
